package org.ahuanlien.crm.service;

import org.ahuanlien.crm.domain.Permission;
import org.ahuanlien.crm.query.QueryObject;
import org.ahuanlien.crm.util.PageResult;

import java.util.List;

public interface IPermissionService {


	PageResult query(QueryObject qo);

	int insert(Permission record);

	List<Permission> selectAll();


	List<Permission> selectPermissionByRoleId(Long id);

	void reload();

	List<String> getResourceByEmployeeId(Long id);
}
